﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Microsoft.Xna.Framework;

namespace AimGameLibrary.GameObject
{
    public class GameColor : GameBaseValue
    {
        Color mycolor;

        public Color MycoloR { get { return mycolor; } set { mycolor = value; } }

        public override void LoadData(Identification getdata, int IndexData, NodeData node)
        {

            if (getdata.Items.GetValue(IndexData + 1).GetType() == typeof(Color))
                mycolor = (Color)getdata.Items.GetValue(IndexData + 1);
        }
    }
}
